import request from '@/utils/request'

export function getCourseTypeAsTree() {
  return request({
    url: '/courseCenter/courseType/getCourseTypeAsTree',
    method: 'post',
  })
}

export function getCourseWithTypeIds(data) {
  return request({
    url: '/courseCenter/course/getCourseWithTypeIds',
    method: 'post',
    data,
  })
}

export function initRoute(data) {
  return request({
    url: '/certificateCenter/route/initRoute',
    method: 'post',
    data,
  })
}

export function makeRouteStep1(data) {
  return request({
    url: '/certificateCenter/route/makeRouteStep1',
    method: 'post',
    data,
  })
}
export function makeRouteStep2(data) {
  return request({
    url: '/certificateCenter/route/makeRouteStep2',
    method: 'post',
    data,
  })
}

export function makeRouteStep3(data) {
  return request({
    url: '/certificateCenter/route/makeRouteStep3',
    method: 'post',
    data,
  })
}
export function initeRoute_Update(data) {
  return request({
    url: '/certificateCenter/route/initeRoute_Update',
    method: 'post',
    data,
  })
}




